<%@ Page Language="vb" EnableViewState="false" AutoEventWireup="false" Codebehind="LaLocationPbx.aspx.vb" Inherits="ccapps.Web.page.LaLocationPbx" %>
<script language="javascript">var ob_tree_id="tree1";var ob_icons="/ccapps/TreeIcons/Icons";var ob_style="/ccapps/TreeIcons/Styles/Classic";ob_tree_editnode_enable=false;ob_tree_keynav_enable=false;ob_tree_multiselect_enable=false;ob_expand_single=false;verdadero=true;falso=false;wahr=true;falsch=false;vrai=true;faux=false;</script>
<script language="JavaScript" src="/ccapps/TreeIcons/Icons/ob_tree_504.js" type="text/javascript"></script>
<script language="JavaScript">
function set(a){
alert(a.value);
}
function company_list_checked() {
	// Make string with checked checkboxes IDs.
	
	var ob_t2in,ob_t2s,ob_t2checked="";
	ob_t2in=document.getElementsByTagName("input");
	for (var i=0; i<ob_t2in.length; i++) {
		
		ob_t2s=ob_t2in[i].id;		
		if ((ob_t2s.substr(0,4)=="chk_") && (ob_t2in[i].checked)) {		
			if (ob_t2checked==""){
			ob_t2checked=ob_t2checked+"'"+ob_t2in[i].value+"'";
			}else{
			ob_t2checked=ob_t2checked+",'"+ob_t2in[i].value+"'";
			}
		}
	}	
	
	return ob_t2checked;
}
</script>
<form id="Form1" method="post" runat="server">
	<input id="proc" type="hidden" name="proc" runat="server"> 
	<input id="Txt1" type="hidden" name="Txt1" runat="server">
	<table border="0">
		<tr>
			<td vAlign="top" bgColor="lightgoldenrodyellow"><ASP:LITERAL id="TreeView" runat="server"></ASP:LITERAL></td>
			<td vAlign="top">
				<table cellSpacing="0" cellPadding="0">
					<tr>
						<TD class="solbaslik" vAlign="top">Custumer Code</TD>
						<TD class="input" vAlign="top">
							<P><asp:textbox id="custcode" tabIndex="2" runat="server" width="200" BackColor="#E0E0E0" readonly="true"></asp:textbox></P>
						</TD>
					</tr>
					<tr>
						<TD class="solbaslik" vAlign="top">Pbx Number</TD>
						<TD class="input" vAlign="top">
							<P><asp:textbox id="pbxNum" tabIndex="2" runat="server" width="200" maxlength=10></asp:textbox></P>
						</TD>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<br>
	<SCRIPT src="/ccapps/web/js/buttonset.js"></SCRIPT>
	<script>begin();geri("geri","geri");link("Pbx Num Add/Upd","pbxNum","document.getElementById('Txt1').value=company_list_checked();");end();</script>
</form>
